package com.feizhoutuobang.shapeline.dao;

import java.util.List;

import com.feizhoutuobang.shapeline.bo.Article;
import com.feizhoutuobang.shapeline.bo.Image;

public interface ImageDao {
	
	Image getImageBySrc(String src);
	
	List<Image> getImagesOfArticle(Article article);
	
	void insertImage(Image image);
	
	void addImageOnArticle(Article article, Image image);
}
